<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org"
      xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>验证公私钥</title>
    <link rel="stylesheet" href="./layui/css/layui.css">
    <link rel="stylesheet" href="./jquery.jsonview.css">
</head>
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>验证公私钥</legend>
</fieldset>
<form class="layui-form" method="post" action="./testKeyPair" target="_blank"  enctype="multipart/form-data">
    <div class="layui-form-item">
        <label class="layui-form-label">公钥证书</label>
        <div class="layui-input-inline">
            <input type="file" name="certFile" class="layui-input">

        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">私钥证书</label>
        <div class="layui-input-inline">
            <input type="file" name="pfxFile" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">私钥密码</label>
        <div class="layui-input-inline">
            <input type="text" name="passwd" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="">提交</button>
        </div>
    </div>
</form>

<script src="./layui/layui.js"></script>
<script src="./jquery-3.4.1.min.js"></script>
<script src="./jquery.jsonview.js"></script>
<script src="./jquery.serializeJson.js"></script>
<script th:inline="javascript">


</script>
</body>
</html>